﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace baitaptuan5
{
    public partial class ManHinhChinh : Form
    {
        public ManHinhChinh()
        {
            InitializeComponent();
        }

        private void sáchToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void sáchToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Form1 newMDIChild = new Form1();
            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show();

            //Form1 from = new Form1();
            //from.ShowDialog();
        }

        private void nhậpSáchToolStripMenuItem_Click(object sender, EventArgs e)
        {

            NhapSach newMDIChild = new NhapSach();
            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show(); 

            //NhapSach nhap = new NhapSach();
            //nhap.ShowDialog();
        }

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }

        private void lậpHóaĐơnBánSáchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DanhSachHoaDon newMDIChild = new DanhSachHoaDon();
            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show(); 
            //DanhSachHoaDon danhsachhd = new DanhSachHoaDon();
            //danhsachhd.ShowDialog();
        }

        private void báoCáoThốngKêToolStripMenuItem1_Click(object sender, EventArgs e)
        {

        }

        private void sáchToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            //BCTKSach bc = new BCTKSach();
            BaoCaoTon newMDIChild = new BaoCaoTon();
            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show();
            //BaoCaoTon bc = new BaoCaoTon();
            //bc.ShowDialog();
        }
        private void dispose()
        {
            
            
        }
        private void thoátToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Dispose();
            base.Dispose();
            
            
        }

        private void kháchHàngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BaoCaoCongNo newMDIChild = new BaoCaoCongNo();
            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show();
            
            //BaoCaoCongNo bccn = new BaoCaoCongNo();
            //bccn.ShowDialog();
        }

        private void ManHinhChinh_Load(object sender, EventArgs e)
        {
            
        }

        private void ManHinhChinh_MdiChildActivate(object sender, EventArgs e)
        {

        }

        private void ManHinhChinh_Click(object sender, EventArgs e)
        {

        }
    }
}
